﻿#ifndef POSTCOMMAND_CMDSETHEATMAPRESULTVALUEDATACHANGED_H
#define POSTCOMMAND_CMDSETHEATMAPRESULTVALUEDATACHANGED_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSetHeatMapResultValueDataChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSetHeatMapResultValueDataChanged();
        ~CmdSetHeatMapResultValueDataChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setHeatMapResultValueDataChanged(int windowId, int index);
    private:
        int m_windowId;
        int m_valueIndex;
    };
} // namespace PostCommand

#endif
